gdkdnd: Make GtkDragContext::cancel RUN_LAST
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 15 Feb 2016 16:05:50 +0000 (17:05 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 15 Feb 2016 17:35:51 +0000 (18:35 +0100)
The default implementation code should act as a catch-all fallback,
we let the connected handlers to run first then.

https://bugzilla.gnome.org/show_bug.cgi?id=761954

gdk/gdkdnd.c

index 150bb3c6cf7a5dceccaf6aad586015a5a6f49310..b76b1108041d50f9fc349dcb1490b155072f7993 100644 (file)
@@ -285,7 +285,7 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
   signals[CANCEL] =
     g_signal_new ("cancel",
                   G_TYPE_FROM_CLASS (object_class),
-                  G_SIGNAL_RUN_FIRST,
+                  G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (GdkDragContextClass, cancel),
                   NULL, NULL,
                   g_cclosure_marshal_VOID__ENUM,